package com.yiyang.service;

import com.yiyang.entity.Building;
import com.yiyang.entity.ResultVO;

import java.util.List;

public interface BuildingService {


    ResultVO<List<Building>> getBuilding(Integer currentPage, Integer pageSize, String name, String numberOfFloor);

    ResultVO<Void> deleteItem(String id);

    ResultVO<Void> addBuilding(Building building);
    ResultVO<Void> updateBuilding(Building building);
}
